﻿using Guoc.BigMall.Domain.Entity;
using Guoc.BigMall.Infrastructure.Extension;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Guoc.BigMall.Application.ViewObject
{
   public class MemberListVo
    {
        public int Id { get; set; }
        /// <summary>
        ///  登陆账号 ：有手机号，存手机号
        /// </summary>
        public string UserName { get; set; }

        public string NickName { get; set; }

        public string RealName { get; set; }

        /// <summary>
        ///  电话，唯一, 可以根据此号码登陆
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        ///  联系电话
        /// </summary>

        public string SecondPhone { get; set; }

        public MemberStatus Status { get; set; }

        public string StatusName { get { return Status.Description(); } }

        /// <summary>
        ///  会员等级
        /// </summary>
        public MemberLevel Level { get; set; }

        public string LevelName { get { return Level.Description(); } }

        public DateTime CreatedOn { get; set; }

    }
}
